using UnityEngine;
using System.Collections;

public class Tiro_Colisores : MonoBehaviour
{
    float[] PosX = { 0.95f };
    float[] PosY = { 0.3f };
    float[] PosZ = { 0.5f };

    bool Active = false;

    void Start()
    {
        this.gameObject.AddComponent("BoxCollider");
    }

    void Update()
    {
        //int r = Random.Range(0, 2);
        //int ry = Random.Range(0, 2);
        for (int i = 0; i <= 2; i++)
        {
            this.gameObject.GetComponent<BoxCollider>().size = new Vector3(PosX[i], PosX[i], PosX[i]);
        }
    }
}
